package cn.gary.oaserver.service;

import cn.gary.oaserver.config.utils.PageUtil;
import cn.gary.oaserver.entity.TRole;
import cn.gary.oaserver.entity.vo.AdminRoleVO;
import cn.gary.oaserver.entity.vo.RoleVo;
import cn.gary.oaserver.params.PageParams;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gary
 * @since 2024-03-15
 */
public interface ITRoleService extends IService<TRole> {

    AdminRoleVO getListByAdminId(Integer adminId);

    PageUtil<RoleVo>  getRoleAndMenuTree(PageParams pageParams, String queryStr);

    boolean removeRoleAndMenuRoleById(Integer id);
}
